package com.wctj.api.base.page.dto;

import com.wctj.api.base.page.constant.PageConstant;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


public class BaseQueryDTO implements Serializable {

    @ApiModelProperty("页码")
    private Integer currentPage = Integer.valueOf(PageConstant.FROM);

    @ApiModelProperty("页长")
    private Integer pageSize = Integer.valueOf(PageConstant.LIMIT);

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
